package cn.xgj.sfzy.service;

import cn.xgj.sfzy.entity.ArticleType;
import cn.xgj.sfzy.entity.MyAssessment;
import cn.xgj.sfzy.entity.UserAssessment;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @ClassName UserAssessmentService
 * @Description TODO
 * @Author furuyue
 * @Date 2024年10月24日 11:37
 * @Version 1.0
 */
public interface UserAssessmentService {

    //删除
    int remove(Integer id);
    //查
    List<UserAssessment> findAll(UserAssessment UserAssessment);
    //分页查
    PageInfo<UserAssessment> findByPage(Integer pageNum, Integer ageSize, UserAssessment UserAssessment);

    List<UserAssessment> findByAppointmentId(Long appointmentId);

    int add(UserAssessment userAssessment);
    int edit(UserAssessment userAssessment);
}
